import axios from "@/utils/request";


// 查询【请填写功能名称】列表
export const listTest=(query:any)=> {
  return axios({
    path: '/system/resoure/list',
    method: 'get',
    data: query
  })
}

// 查询【请填写功能名称】详细
export const getTest=(sysReId:any)=> {
  return axios({
    path: '/system/resoure/' + sysReId,
    method: 'get'
  })
}

// 新增【请填写功能名称】
export const addTest=(data:any)=> {
  return axios({
    path: '/system/resoure/',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export const updateTest=(data:any)=> {
  return axios({
    path: '/system/resoure/',
    method: 'put',
    data: data
  })
}

// 删除【请填写功能名称】
export const delTest=(sysReId:any)=> {
  return axios({
    path: '/system/resoure/' + sysReId,
    method: 'delete'
  })
}
